<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
	<meta name="description" content="">
	<meta name="author" content="">

	<title>登录到异世界百科</title>

	<!-- Custom fonts for this template-->
	<link href="/static/fontawesome/css/all.min.css" rel="stylesheet" type="text/css">

	<!-- Custom styles for this template-->
	<link href="/static/css/sb-admin-2.css" rel="stylesheet">
	<link href="/static/css/style.css" rel="stylesheet">
</head>

<body class="bg-gradient-primary">
	<div class="container">
		<!-- Outer Row -->
		<div class="row justify-content-center" id="app">
			<div class="col-xl-6 col-lg-8 col-md-9">
				<div class="my-5">
					<div class="shadow-lg">
						<ul class="nav navbar-light nav-tabs nav-user nav-justified mt-5">
							<li class="nav-item">
								<a class="nav-link{$action == 'login' ?= ' active'}" id="loginLink" href="/user/login">登录</a>
							</li>
							<li class="nav-item">
								<a class="nav-link{$action == 'register' ?= ' active'}" id="registerLink" href="/user/register">注册</a>
							</li>
						</ul>
						<div id="form-container">
						{if condition="$action == 'login'"}
							{include file="login/loginForm"}
						{/if}
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>

	<script src="/static/js/jquery.min.js"></script>
	<script src="/static/js/bootstrap.bundle.min.js"></script>
	<script src="/static/js/jquery.toaster.js"></script>
	<script src="/static/js/gt.js"></script>
	<script src="/static/js/main.js"></script>
</body>
</html>
